package com.xyz.eduservice.entity.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 课程详情Vo
 * @author zsr
 * @date 2021/6/11 22:29
 */
@Schema(description = "编辑课程基本信息的表单对象")
@Data
public class CourseInfoVo  implements Serializable {
    private static final long serialVersionUID = 1L;

    @Schema(description = "课程ID")
    private String id;

    @Schema(description = "课程讲师ID")
    private String teacherId;

    @Schema(description = "课程专业ID")
    private String subjectId;

    @Schema(description = "课程专业父级ID")
    private String subjectParentId;

    @Schema(description = "课程标题")
    private String title;

    @Schema(description = "课程销售价格，设置为0则可免费观看")
    private BigDecimal price;

    @Schema(description = "总课时")
    private Integer lessonNum;

    @Schema(description = "课程封面图片路径")
    private String cover;

    @Schema(description = "课程简介")
    private String description;

    @Schema(description = "课程教材")
    private String materialUrl;

}